while true
do
gst-launch-1.0 multifilesrc location=/userdata/mine/cap.jpg loop=true caps="image/jpeg,framerate=10/1" !  jpegdec ! videoconvert ! videoscale ! video/x-raw,format=NV12,width=320,height=170 ! kmssink
  sleep 0.1
done &
